/*
 * Vent_Usuarios.java
 *
 * 
 * Created on 18 de agosto de 2008, 05:12 PM
 */

package administrador;

/**
 *
 * @author  daniel1
 */
public class Vent_Usuarios extends javax.swing.JFrame {
//Parametros:
    Conexion conexion;
    Usuario user;
    int bodega=1;
    
    /** Creates new form Vent_Usuarios */
    public Vent_Usuarios(Conexion c,int b,Usuario u) {
        
        initComponents();
        bodega=b;
        this.p_principal.add(new UsuariosAdmin(c,b,u));
        setBounds(200,100,780,470);
        setVisible(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        p_principal = new javax.swing.JPanel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(administrador.AdministradorApp.class).getContext().getResourceMap(Vent_Usuarios.class);
        p_principal.setBorder(javax.swing.BorderFactory.createTitledBorder(null, resourceMap.getString("p_principal.border.title"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, resourceMap.getFont("p_principal.border.titleFont"))); // NOI18N
        p_principal.setName("p_principal"); // NOI18N
        p_principal.setLayout(new java.awt.BorderLayout());
        getContentPane().add(p_principal, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel p_principal;
    // End of variables declaration//GEN-END:variables

}
